﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Microsoft.Practices.Unity;
using SISLOG.BusinessEntities;
using SISLOG.BusinessLogic;

namespace SISLOG.Web
{
    public partial class frmArea : BasePage<frmArea> //System.Web.UI.Page
    {
       [Dependency]
        public IAreaBL AreaBL { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void ObjectDataSourceArea_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = AreaBL;
        }

        protected void btnNuevo_Click2(object sender, EventArgs e)
        {
            Response.Redirect("frmRegistrarArea.aspx?acc=nuevo");
        }
    }
}